package co.baiku.boot.wechat.config.ma;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * 微信小程序存储策略自动配置.
 *
 * @author someone TaoYu
 */
@Configuration
@Import({
        WxMaInMemoryConfigStorageConfiguration.class,
        WxMaInRedisTemplateConfigStorageConfiguration.class,
})
@ConditionalOnProperty(prefix = "wx.miniapp", value = "enabled", havingValue = "true")
public class WxMaStorageAutoConfiguration {
}
